package openadmin.controller.gwt.menu;

import java.io.Serializable;
import java.util.List;

/**
 * <desc> Basic Menu node 
 * In order to simplify programming, all the attributes have been declared "public"
 * This class has a internationalized description
 * It can be assigned a personalized image and a CSS style.
 * It also has references to its parent and child nodes.
 * Note that this class is abstract, so you cannot use it directly. It is a baseclass
 * 
 * @author edu
 *
 */
public abstract class BaseMenuNode implements Serializable{

	private static final long serialVersionUID = 1L; // To avoid complier warnings
	
	public int id;						// Unique identifier
	public String description;      	// i18n description of the menu node 
	public String image;				// name of the image to use 
	public BaseMenuNode parent;				// The father of the node 
	public List<BaseMenuNode> childNodes;   // The child nodes 
	public String style;				// The style from a CSS to use
}
